package com.tencent.hummingbird.portal.mapper;

import com.tencent.hummingbird.portal.pojo.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
* <p>
    *  Mapper 接口
    * </p>
*
* @author yxb
* @since 2024-01-10
*/
@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    @Update("update comment set content = #{content} where id = #{id}")
    int updateComment(Comment comment);
}
